﻿@using System.Web.Mvc.Html
@using DevExpress.Web.Mvc.UI
@using DevExpress.XtraReports.UI
@{
    ViewBag.Title = "Customer";
    Layout = "~/Areas/Administrator/Views/Shared/_Popup.cshtml";
}
@*<!--Stlye & Script-->
<script src="/Scripts/jquery.min.js"></script>
<script src="~/Scripts/jquery.validate.min.js"></script>
<script src="/Scripts/admin/popup.js"></script>
 <script src="/Scripts/admin/common.js" type="text/javascript"></script>
<script src="/Scripts/admin/utility.js" type="text/javascript"></script>
<script>
    $(document).ready(function () {
        loadShare();
        $('a.maximum').click();        
    });
</script>*@
<!--End Stlye & Script-->

@Html.DevExpress().GetStyleSheets(
            new StyleSheet { ExtensionSuite = ExtensionSuite.NavigationAndLayout },
        //new StyleSheet { ExtensionSuite = ExtensionSuite.Editors },
            //new StyleSheet { ExtensionSuite = ExtensionSuite.HtmlEditor },
    //new StyleSheet { ExtensionSuite = ExtensionSuite.GridView },
    //new StyleSheet { ExtensionSuite = ExtensionSuite.Chart },
    new StyleSheet { ExtensionSuite = ExtensionSuite.Report }
    )
@Html.DevExpress().GetScripts(
        new Script { ExtensionSuite = ExtensionSuite.NavigationAndLayout },
        //new Script { ExtensionSuite = ExtensionSuite.HtmlEditor },
    //new Script { ExtensionSuite = ExtensionSuite.GridView },
        new Script { ExtensionSuite = ExtensionSuite.Editors },
    //new Script { ExtensionSuite = ExtensionSuite.Chart },
    new Script { ExtensionSuite = ExtensionSuite.Report }
    )

@using (Html.BeginForm())
{
    @Html.ValidationSummary(true)
    <body>
        <section class="wrapper-pop-up-width-500">

            <header>
                <h1 class="heading-pop-up-width-500">@ViewBag.TitleGroup</h1>
                <ul class="top-icon-pop-up-width-500">
                    <li>
                        <a class="maximum" data-dimension="100%|100%" href="#"></a>
                    </li>
                    <li><a class="turn-off-none-confirm" data-dimension="450|240" href="#"></a></li>
                </ul>
            </header>

            <section class="content-pop-up-width-500 report">
                <section class="main">
                    <section class="content">
                        <section class="viewer">
                            @Html.DevExpress().ReportToolbar(settings =>
                                                                 {
                                                                     settings.Name = "ReportToolbar";
                                                                     settings.ReportViewerName = "reportViewer";                                                                     
                                                                 }).GetHtml()
                            
                            @{
                                Html.RenderAction("ReportViewerPartial", "BaseReport");
                            }
                            
                        </section>
                    </section>
                </section>
            </section>
        </section>        
    </body>
}



